package com.xy.core.init.mysql.annotation;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * Created by 汤伟杰 on 2017/5/29.
 */
@Documented
@Target(TYPE)
@Retention(RUNTIME)
public @interface Enum {

    String name() default "";

    /**
     * 分类
     * 1是 select
     * 0是 switch
     * @return
     */
    String type() default "";
}
